package com.zx.tfw.service;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zx.tfw.dao.TechnicalManufacturerMapper;
import com.zx.tfw.entity.TechnicalManufacturer;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class TechnicalManufacturerService {

    @Autowired
    private TechnicalManufacturerMapper technicalManufacturerDao;

    public List<TechnicalManufacturer> getAll() {
        return this.technicalManufacturerDao.selectList(Wrappers.lambdaQuery());
    }

    public TechnicalManufacturer getById(int id) {
        return this.technicalManufacturerDao.selectById(id);
    }
}
